package cn.itcast.mybatis.mapper;

import org.apache.ibatis.annotations.Param;

import cn.itcast.mybatis.pojo.Order;

public interface OrderMapper {

	/**
	 * 查询订单，查询出下单人信息并且查询出订单详情中的商品数据。
	 * @param number
	 * @return
	 */
	public Order queryOrderWithUserDetailItem(@Param("number")String number);
	
	public Order queryOrderWithUser(@Param("number")String number);
	
	public Order queryOrderWithUserDetail(@Param("number")String number);
}
